package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.GetRoomResponse;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/11/3.
 */

public interface GetRoomRequest {
    @GET("getroom")
    Observable<BaseModel<GetRoomResponse>> getResult(@Query("token") String token, @Query("username") String username);

    @GET("getroom")
    Observable<BaseModel<GetRoomResponse>> getResultByUuid(@Query("uuid") String uuid);
}
